home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr25
/
memsz130.zip
/
MEMSIZE.MAK
< prev
next >
Wrap
Makefile
|
1993-03-14
|
2KB
|
93 lines
PROJ = MEMSIZE
PROJFILE = MEMSIZE.MAK
DEBUG = 0
PWBRMAKE = pwbrmake
NMAKEBSC1 = set
NMAKEBSC2 = nmake
CC = cl
CFLAGS_G = /Alfw /W3 /G2 /D_MT /Zp /MT /BATCH
CFLAGS_D = /Gs /Gi$(PROJ).mdt /Zi /Od
CFLAGS_R = /Ot /Oi /Ol /Oe /Og /Gs
MAPFILE_D = NUL
MAPFILE_R = NUL
LFLAGS_G = /NOI /STACK:8192 /BATCH
LFLAGS_D = /CO /FAR /PACKC /PACKD /PMTYPE:PM
LFLAGS_R = /EXE /FAR /PACKC /PACKD /PMTYPE:PM
LINKER = link
ILINK = ilink
LRF = echo > NUL
RC = rc
OBJS = memsize.obj OBJECT.obj ABOUT.obj
RESS = MEMSIZE.res
all: $(PROJ).exe
.SUFFIXES:
.SUFFIXES: .obj .res .c .rc
memsize.obj : memsize.c object.h about.h memsize.h
OBJECT.obj : OBJECT.C object.h
MEMSIZE.res : MEMSIZE.RC memsize.h
ABOUT.obj : ABOUT.C about.h object.h
$(PROJ).bsc :
$(PROJ).exe : $(OBJS) $(RESS)
!IF $(DEBUG)
$(LRF) @<<$(PROJ).lrf
$(RT_OBJS: = +^
) $(OBJS: = +^
)
$@
$(MAPFILE_D)
$(LLIBS_G: = +^
) +
$(LLIBS_D: = +^
) +
$(LIBS: = +^
)
$(DEF_FILE) $(LFLAGS_G) $(LFLAGS_D);
<<
!ELSE
$(LRF) @<<$(PROJ).lrf
$(RT_OBJS: = +^
) $(OBJS: = +^
)
$@
$(MAPFILE_R)
$(LLIBS_G: = +^
) +
$(LLIBS_R: = +^
) +
$(LIBS: = +^
)
$(DEF_FILE) $(LFLAGS_G) $(LFLAGS_R);
<<
!ENDIF
$(LINKER) @$(PROJ).lrf
$(RC) $(RESS) $@
.c.obj :
!IF $(DEBUG)
$(CC) /c $(CFLAGS_G) $(CFLAGS_D) /Fo$@ $<
!ELSE
$(CC) /c $(CFLAGS_G) $(CFLAGS_R) /Fo$@ $<
!ENDIF
.rc.res :
$(RC) /r $< $@
run: $(PROJ).exe
$(PROJ).exe $(RUNFLAGS)
debug: $(PROJ).exe
CVP $(CVFLAGS) $(PROJ).exe $(RUNFLAGS)